Skip to content

Conversation

marcocaberletti
Copy link

I write a simple solution for the issue #28.
Basically:

  • Add some log option in settings;
  • Replace print_message with log calls;
  • "--debug" option now overrides log level with DEBUG value and adds a handler for write log message both on file and console.

Add log_file and log_level parameters in settings.
Edit script to use log file.
Modify --debug option behavior.
Replace print_message with logger.
@ableev
Copy link
Owner

ableev commented Mar 9, 2016

Hi, @marcocaberletti.
Thank you for you pull request.
I will test and review it.

@victorhugopa
Copy link

Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants